@charset 'utf-8';
@import 'xxPublic';

.activetyTit{
   color: $red; 
   height: 3rem;
   line-height: 3rem;
   background: #fff0f0;
   margin-bottom: 1rem;
   font-size: 1.2rem;
   padding: 0 1rem;
   span{
       margin-right: 1rem;
   }
}
.countDown{
    text-align: center;
    margin-bottom: 2rem;
    span{
        color: $txtcolor;
        em{
            font-size: 1.6rem;
            color: $bigTitle;
            padding: 0 0.6rem;
        }
    }
    .countTime{
        border-bottom: 1px solid $borderColor;
        span{
            position: relative;
            bottom: -0.5rem;
            display: inline-block;
            background: $cf5;
        }
    }
}
.activityLists{
    display: flex;
    flex-wrap: wrap;
    padding: 1rem;
    li{
        width: 49%;
        margin-left: 2%;
        margin-bottom: 2rem;
        padding-bottom: 1rem;
        background: white;
        img{
            width: 100%;
        }
        a{
            display: block;
        }
        p{
            line-height: 2.4rem;
            text-overflow: ellipsis;
            overflow: hidden;
            white-space: nowrap;
        }
        .activityTag{
            display: flex;
            justify-content: space-between;
            padding: 0rem 1rem;
            em{
                border: 1px solid $red;
                color: $red;
                font-size: 1.2rem;
                border-radius: 4px;
                padding: 0 0.6rem;
            }
            button{
                background: $red;
                color: white;
                border-radius: 4px;
                border: 1px solid $red;
                padding: 0 0.6rem;
            }
        }
    }
    li:nth-child(odd){
        margin-left: 0;
    }
}

.priceBox{
    line-height: 2.4rem; 
    .rightPrice{
        font-size: 1.6rem;
        color: $red;
    }
    .lineThrough{
        color: $txtcolor;
        text-decoration: line-through;
        margin-left: 0.4rem;
    }
}
/*
 * 每日签到
 */
.signBox{
    background: url(../images/signbg.png) no-repeat;
    background-size: cover;
}
.signTit{
    text-align: center;
    padding-top: 2rem;
    margin-bottom: 2rem;
    line-height: 3rem;
    span{
        color: $red;
        font-size: 2rem;
        font-weight: bold;
        display: block;
    }
}
.signCon{
    background: rgba(255,255,255,0.5);
    width: 80%;
    margin: 0 auto 3rem;
    padding: 1rem;
    border-radius: 6px;
    .signMain{
        background: white;
        padding: 2rem 1rem 4rem;
        .signTag{
            background: url(../images/signTit.png) no-repeat;
            background-size: 100% 100%;
            width: 80%;
            height: 4rem;
            text-align: center;
            line-height: 3rem;
            color: white;
            margin: 0 auto 2rem;
        }
        .signList{
            display: flex;
            flex-wrap: wrap;
            width: 76%;
            margin: 0 auto 3rem;
            li{
                position: relative;
                margin-right: 1.4rem;
                margin-bottom: 1rem;
                em{
                    position: absolute;
                    width: 1.4rem;
                    border-bottom: 1px solid $borderColor;
                    top: 35%; right: -1.4rem;
                }
                span{
                    display: inline-block;
                    width: 38px; height: 38px;
                    background: url(../images/sign.png) no-repeat;
                    background-size: 100% 100%;
                    
                }
                &.signedLi span{
                    background-image: url(../images/signed.png);
                }
                
            }
            li:nth-child(4n){
                overflow: hidden;
                margin-right: 0;
            }
            li:last-child{
                overflow: hidden;
                margin-right: 0;
            }
        }
    }
}
.jifenAccount{
    border: 1px solid $borderColor;
    border-radius: 20px;
    padding:  0 2rem;
}
.signBtn{
    text-align: center;
    button{
        background: $btnred;
        color: white;
        font-size: 2rem;
        white-space: 2em;
        width: 43%;
        height: 4rem;
        border: none;
        border-radius: 80px;
    }
}
/*
 * 今日秒杀
 */
.secKillPro{
    margin-top: 1rem;
    position: relative;
    background: #fff2f2;
    width: 128px;
    border: 1px solid $btnred;
    border-radius: 1rem;
    height: 14px;
    line-height: 14px;
    color: $btnred;
    display: flex;
    font-size: 1.2rem;
    em{
        position: absolute;
        top: 0; left: 0;
        z-index: 1;
        background: $btnred;
        border-radius: 1rem;
        height: 100%;
        width: 50%;
        color: white;
        overflow: hidden;
        b{
            position: absolute;
            top: 0; left: 0;
            width: 200%;
            padding-left: 0.4rem;
        }
    }
    span{
        justify-content: space-between;
        position: absolute;
        top: 0; left: 0; right: 0;
        height: 100%;
        padding: 0 0.4rem;
        z-index: 0;
    }
}
.secKillPrice{
    justify-content: space-between;
    align-items: center;
    .priceBox{
        color: $txtcolor;
        line-height: normal;
    }
    em{
        display: block;
    }
    .qiangBtn{
        padding: 0.2rem 1.5rem;
        background: $btnred;
        color: white;
        border-radius: 4px;
        border: none;
        outline: none;
    }
}
